package com.cloud.flowable.entity.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
@Schema(name = "流程查询分页对象", description = "流程管理")
public class ProcessPage {

    @Schema(description = "当前页")
    private Integer pageNum;

    @Schema(description = "每页显示条数")
    private Integer pageSize;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "流程标识")
    private String processKey;

    @Schema(description = "流程名称")
    private String processName;

    @Schema(description = "流程分类")
    private String category;

    @Schema(description = "状态")
    private String state;

    @Schema(description = "发起人名称")
    private String originatorName;

    @Schema(description = "请求参数")
    private Map<String, Object> params = new HashMap<>();

}
